
typedef struct ListNode LN;
struct ListNode* middleNode(struct ListNode* head)
{
	LN* slow = head;
	LN* fast = head;
	while (fast && fast->next)
	{
		slow = slow->next;
		fast = fast->next->next;
	}
	return slow;
}